<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>axios查询所有用户</title>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    //查询所有
    <script>
        axios({
        method: 'get',
        url: 'http://localhost:8099/user/all'
    }).then((result)=>{
        console.log(result.data.data);
    }).catch((err=>{
        console.log(err);
    }))
    </script>

</head>
<body>

</body>
</html>